package com.qf.ssm.mapper;

import com.qf.ssm.po.DepositClearing;
import com.qf.ssm.po.Emp;
import com.qf.ssm.po.OrderClearing;
import com.qf.ssm.po.PickUpInformation;

import com.qf.ssm.qo.PickUpInformationQo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author dabenzhong
 * @Create 2024-01-04-15:23
 */
public interface PickUpInformationMapper {
    //根据orderid获取获取取车单信息
    Integer insertOrderpickUpInformation(Integer orderId);

    //根据orderId查询订单信息
    PickUpInformation selectpickUpInformation(@Param("orderId") Integer orderId);

    //查询全部订单支付方式
    List<OrderClearing> selectAllOrderClearing();
    //查询押金支付方式
    List<DepositClearing> selectAllDepositClearing();

    //查询全部员工信息
    List<Emp> selectAllEmp();

    //添加车单的全部信息
    Integer updatePickUpInformation( @Param("pickUpInformationQo") PickUpInformationQo pickUpInformationQo);
    //根据orderId查询是否有数据
    Integer selectPickUpInByOrderId(@Param("orderId") Integer orderId);
}
